home *** CD-ROM | disk | FTP | other *** search
- ########################################################################################
- # CDIndexer Cover Template File (C)2002, GD Software ##
- # ##
- # Revision 1.1 ##
- # Author: Brian Niels Bergh ##
- ########################################################################################
-
- # DRAW STYLES
- # 0 = ______
- # 1 = ---------
- # 2 = .........
- # 3 = -.-.-.-.-
- # 4 = -..-..-..
- # NOTE!
- # LINE SIZE IS GIVEN IN "POINT" size. But is shown as PIXEL size on screen.
- #
- # API:
- # PRE DEFINED VARIABLES TO USE:
-
- # NORMAL (ALWAYS PRESSENT):
- #-------------------------------------------------------------------------------------------------------------
- # %category% :Disk category
- # %date% :Disk scanned date
- # %description% :Disc description
- # %disktype% :DiskType
- # %files% :Number of files
- # %id% :ID
- # %loaneddate% :Loaned date
- # %loanedto% :Loaned to
- # %returndate% :Return date
- # %serialnumber% :Disk serial number
- # %size% :Disk size (formated)
- # %title% :Disk title
- # %attact_filename% :Attchment filename (if any files are attached)
- # %picture% :Picture, if any! (Only .jpg,.bmp and .gif is supported!)
- #
- # SPECIAL "Movie Descriptor plugin"
- #-------------------------------------------------------------------------------------------------------------
- # %p_title% :Title
- # %p_language% :Language
- # %p_length% :Length
- # %p_actor% :Actor(s)
- # %p_director% :Director(s)
- # %p_year% :Year
- # %p_color% :Color (Yes/No)
- # %p_media% :Media (DVD/VCD etc)
- # %p_description% :Description (formated with Movie descriptor)
- # %p_soundtype% :Sound type (Dolby, digital, mone etc)
- # %p_region% :Region
- # %p_note% :Note
- #
- # AUDIO CD TRACK INFORMATION (FREEDB/CDDB)
- #
- # %a_ARTIST% :Artist name
- # %a_ALBUM% :Album name
- # %a_YEAR% :Year
- # %a_GENRE% :Genre
- # %a_TRACK_STACK% :A complete list of tracks and times. eg. [01) TRACK01 - 4:45]
- # %a_NAME[NN] :Spc. Track-name for track number NN eg. %a_NAME01%
- # %a_TIME[NN] :Spc. Track-time for track number NN eg. %a_TIME01%
- #
- #
- # COMMON CDIndexer data
- #-------------------------------------------------------------------------------------------------------------
- # c_time : Time
- # c_date : Date
- # c_now : System date and time (combined)
- # c_cix_file : Current database (CIX file)
- #
- # TextRect Effect constants:
- #-------------------------------------------------------------------------------------------------------------
- # DT_BOTTOM
- # DT_CALCRECT
- # DT_CENTER
- # DT_CHARSTREAM
- # DT_DISPFILE
- # DT_EXPANDTABS
- # DT_EXTERNALLEADING
- # DT_INTERNAL
- # DT_LEFT
- # DT_METAFILE
- # DT_NOCLIP
- # DT_PLOTTER
- # DT_NOPREFIX
- # DT_RASCAMERA
- # DT_RASDISPLAY
- # DT_RASPRINTER
- # DT_RIGHT
- # DT_SINGLELINE
- # DT_TABSTOP
- # DT_TOP
- # DT_VCENTER
- # DT_WORDBREAK ' WORDWRAP !
- #
- # NOTE!
- # DT_VCENTER only works with DT_SINGLELINE.
- #
- # The constants can be bitwise or'ed. using this syntax:
- #
- # DT_CENTER DT_VCENTER DT_WORDBREAK ' Example! Using SPACE as OR. Leave empty if no effects (,,)
- #
- #
- # API (DRAW,TEXT and formating)
- # ------------------------------------------
- # Box:x1,y1,x2,y2,line-size,color,fillcolor,line-style
- # Line:x1,y1,x2,y2,line-size,color,line-style
- # Text:x,y,color,angle,font-name,font-size,font-bold,font-italic,text
- # TextRect:x1,y1,x2,y2,color,effect,font-name,font-size,font-bold,font-italic,text
- # picture:x,y,width,height,autoscale,source;
- # formating:
- # $(numeric value,string-format)
- # if_file_exist:{evaluate,trueprar,falsepart}
- # if_field_exist:{evaluate,trueprar,falsepart}
- #
- # ALL methods/functions must be terminated with a leading ; (semo-colon)
- #
- # EXAMPLES:
- # ------------------------------------------
- # box:0,0,275,184,1,#000000,#FFFFFF,1;
- # line:130,0,130,184,1,#000000,0;
- # text:134,155,#000000,90,Tahoma,16,true,false,%TITLE%;
- # textrect:10,10,120,135,#000000,0,Tahoma,10,false,false,%p_DESCRIPTION%;
- # picture:150,10,120,170,true,%picture%;
- #
- #if_file_exist:{\pictures\%p_media%.gif|picture:130,170,15,14,true,\pictures\%p_media%.gif;|text:130,170,#000000,0,Tahoma,8,true,false,%disktype%;}
- #
- #if_field_exist:{\pictures\%p_media%.gif|picture:130,170,15,14,true,\pictures\%p_media%.gif;|text:130,170,#000000,0,Tahoma,8,true,false,%disktype%;}
- #
- #
- # format example:
- #
- # To format the number 1 to 0001 etc.
- # $(1,0000)
- #
- # Example : text:134,155,#000000,90,Tahoma,16,true,false,$(%id%,0000); will return 1 = 0001, 2 = 0002, 345 = 0345
-
-
-
- # Good luck !
-
-
-
- ############################################
- ## CD Juwelcase cover
- ## AUTHOR: Brian N. Bergh
- ############################################
- # front box
- box:15,15,135,135,1,#000000,#FFFFFF,1;
-
- # Front Description (is overwritten by picture, if any!)
- TextRect:15,15,135,133,#000000,DT_CENTER OR DT_SINGLELINE OR DT_VCENTER,Tahoma,16,true,false,%a_ALBUM%;
-
- # picture:x,y,width,height,autoscale,source;
- picture:15.5,15.5,119,119,true,%picture%;
-